package com.igeek.shop.service;

import java.util.List;
import java.util.Map;

import com.igeek.shop.entity.Order;
import com.igeek.shop.entity.Product;

//后台相关
public interface ProductServicees {
		//返回List封装Product 对象的集合
		public List<Product> getProductList();
		
		//删除商品
		public void deleteProduct(String pid);
		
		//添加商品
		public void insertProduct(Product product);

		public List<Order> findAllOrders();

		public List<Map<String, Object>> findOrderInfoByOid(String oid);
}
